package com.deng.template.web.model.request;

import com.deng.template.web.model.BaseRequest;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author Deng
 * @describe 用户登录请求
 * @date 2022/11/13
 */
@Data
@Accessors(chain = true)
public class UserLoginReq extends BaseRequest {

    /**
     * 用户名
     */
    @NotBlank(message = "source is null!")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "source is null!")
    private String password;
}
